Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NChain<T> Class / SwapWithPrev Method


In This Topic
    SwapWithPrev Method
    In This Topic
    Swaps this node with the previous node in the chain
    Syntax
    'Declaration
     
    
    Public Function SwapWithPrev( _
       ByVal node As NChainNode(Of T) _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NChain(Of T)
    Dim node As NChainNode(Of T)
    Dim value As System.Boolean
     
    value = instance.SwapWithPrev(node)
    public System.bool SwapWithPrev( 
       NChainNode<T> node
    )

    Parameters

    node

    Return Value

    true if node had a prev node and locations are swapped, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also